package com.rabbitmq.ChattingRoom.service.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.rabbitmq.ChattingRoom.util.Entity.User;
import com.rabbitmq.ChattingRoom.util.common.resp.UserRESP;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper extends BaseMapper<User> {

    List<UserRESP> getUsers();

    List<UserRESP> getUsersByRoomId(Long roomId);
}
